package com.demo.webapp.kcfinder;

import javax.servlet.http.HttpServletRequest;

/**
 * ActionMapping对象生成器接口
 * @author ryuu.kk
 *
 */
public interface ActionMappingBuilder {

	/**
	 * 取得ActionMapping
	 * @param request HTTP请求
	 * @return ActionMapping
	 */
	ActionMapping getMapping(HttpServletRequest request);
	
	/**
	 * 通过ActionMapping返回URL地址
	 * @param mapping ActionMapping
	 * @return String
	 */
	String getMappingUri(ActionMapping mapping);
}
